package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class BalanceVO {


    @ApiModelProperty("可用金额")
    private String availableBal;

    @ApiModelProperty("冻结金额")
    private String frozenBal;


    @ApiModelProperty("汇付可用金额")
    private String hfAvailableBal;

    @ApiModelProperty("汇付冻结金额")
    private String hfFrozenBal;

    @ApiModelProperty("连连可用金额")
    private String llAvailableBal;

    @ApiModelProperty("连连冻结金额")
    private String llFrozenBal;

    @ApiModelProperty("新生可用余额")
    private String hnaAvailableBal;

    @ApiModelProperty("连连待结算金额")
    private String llUnsettleAmount;

    @ApiModelProperty("杉德待结算金额")
    private String sandUnsettleAmount;

    @ApiModelProperty("连连三方钱包待结算金额")
    private String llWalletUnsettle;

    public void setAvailableBal(BigDecimal availableBal) {
        this.availableBal = availableBal.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setFrozenBal(BigDecimal frozenBal) {
        this.frozenBal = frozenBal.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setHfAvailableBal(BigDecimal hfAvailableBal) {
        this.hfAvailableBal = hfAvailableBal.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setHfFrozenBal(BigDecimal hfFrozenBal) {
        this.hfFrozenBal = hfFrozenBal.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setLlAvailableBal(BigDecimal availableBal) {
        this.llAvailableBal = availableBal.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setLlFrozenBal(BigDecimal frozenBal) {
        this.llFrozenBal = frozenBal.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
    }

    public void setllwalletUnsettle(BigDecimal unsettleAmount) {
        this.llWalletUnsettle=unsettleAmount.setScale(2, BigDecimal.ROUND_DOWN).toPlainString();
    }

}
